package br.com.sig.cadastro.recursoshumanos.presentation.action;

import javax.annotation.PostConstruct;
import javax.faces.bean.ViewScoped;
import javax.inject.Inject;
import javax.inject.Named;

import br.com.sig.cadastro.recursoshumanos.business.model.bo.DepartamentoBO;
import br.com.sig.cadastro.recursoshumanos.business.model.entity.Departamento;
import br.com.sig.presentation.action.BaseAction;

@Named
@ViewScoped
public class DepartamentoAction extends BaseAction<Departamento> {

	private static final long serialVersionUID = -766628798704872582L;
	
	@Inject
	private DepartamentoBO departamentoBO;

	@PostConstruct
	public void init() {
		setService(departamentoBO);
	}
}